﻿using System;

namespace MvcForum.Net.Business
{


    public class ForumsListEntity
    {

        private int _forumid;
        public int ForumId
        {
            get
            {
                return _forumid;
            }
            set
            {

                _forumid = value;

            }
        }


        private string _forumname;
        public string ForumName
        {
            get
            {
                return _forumname;
            }
            set
            {

                _forumname = value;

            }
        }


        private int _parentid;
        public int ParentId
        {
            get
            {
                return _parentid;
            }
            set
            {

                _parentid = value;

            }
        }


        private string _keywords;
        public string Keywords
        {
            get
            {
                return _keywords;
            }
            set
            {

                _keywords = value;

            }
        }


        private string _description;
        public string Description
        {
            get
            {
                return _description;
            }
            set
            {

                _description = value;

            }
        }


        private short _sortorder;
        public short SortOrder
        {
            get
            {
                return _sortorder;
            }
            set
            {

                _sortorder = value;

            }
        }


        private string _remoteurl;
        public string RemoteUrl
        {
            get
            {
                return _remoteurl;
            }
            set
            {

                _remoteurl = value;

            }
        }


        private bool _islocked;
        public bool IsLocked
        {
            get
            {
                return _islocked;
            }
            set
            {

                _islocked = value;

            }
        }


        private bool _allowpostwithin;
        public bool AllowPostWithIn
        {
            get
            {
                return _allowpostwithin;
            }
            set
            {

                _allowpostwithin = value;

            }
        }


        private short _moderatetype;
        public short ModerateType
        {
            get
            {
                return _moderatetype;
            }
            set
            {

                _moderatetype = value;

            }
        }


        private string _allowroles;
        public string AllowRoles
        {
            get
            {
                return _allowroles;
            }
            set
            {

                _allowroles = value;

            }
        }


        private bool _visibleathomepage;
        public bool VisibleAtHomePage
        {
            get
            {
                return _visibleathomepage;
            }
            set
            {

                _visibleathomepage = value;

            }
        }


        private long _totaltopics;
        public long TotalTopics
        {
            get
            {
                return _totaltopics;
            }
            set
            {

                _totaltopics = value;

            }
        }



        public long TotalReplies
        {
            get; set;
        }


        private int _lastpostid;
        public int LastPostId
        {
            get
            {
                return _lastpostid;
            }
            set
            {

                _lastpostid = value;

            }
        }


        public string LastPostTitle{ get; set; }

        public DateTime LastPostDate{ get; set; }

        public string LastUserPost { get; set; }


        private int _level;
        public int Level
        {
            get
            {
                return _level;
            }
            set
            {

                _level = value;

            }
        }



    }
}
